#pragma once
#include "resource.h"
#include "afxwin.h"

// CPackDlg dialog

class CPackDlg : public CDialog
{
	DECLARE_DYNAMIC(CPackDlg)

public:
	CPackDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CPackDlg();

// Dialog Data
	enum { IDD = IDD_PACK };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg LRESULT OnNcHitTest(CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	virtual BOOL OnInitDialog();

	virtual void OnOK(){};
	virtual void OnCancel(){};
	afx_msg void OnBnClickedDirBrowse();
	afx_msg void OnBnClickedFileBrowse();

	void InitComboxDir();
	void InitComboxFile();

public:
	CComboBox m_cmbDir;
	CString m_strComboDir;

	CComboBox m_cmbFile;
	CString m_strComboFile;

	afx_msg void OnClose();
	afx_msg void OnDestroy();
	int m_nPackType;

};
